<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body{
            margin: 0;
        }
        .center{
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .container{
            display: flex;
            height: 100vh;
            background-color: #F2F2F2;
            align-items: stretch;
        }
        .left{
            display: flex;
            flex-shrink: 0;
            width: 265px;
            border: 1px red dashed;
            align-items: stretch;
        }
        .right{
            display: flex;
            flex-grow: 1;
            flex-direction: column;
            border: 1px red dashed;
            align-items: stretch;
        }
        .functionbar{
            display: flex;
            flex-shrink: 0;
            width: 60px;
            background-color: #E9E9E7;
        }
        .left-right{
            display: flex;
            width: 200px;
            flex-direction: column;
            align-items: stretch;
        }
        .search{
            display: flex;
            width: 200px;
            height: 60px;
            background-color: #FFFFFF;
        }
        .chat-target{
            display: flex;
            flex-grow: 1;
            width: 200px;
            background-color:yellow;
        }
        .target-name{
            display: flex;
            height: 60px;
            background-color: antiquewhite;
        }
        .right-body{
            display: flex;
            flex-shrink: 0;
            flex-grow: 1;
            align-items: stretch;
        }
        .right-body-left{
            display: flex;
            flex-shrink: 0;
            flex-grow: 1;
            flex-direction: column;
            align-items: stretch;
        }
        .right-body-right{
            display: flex;
            width: 100px;
            flex-direction: column;
        }
        .chat-message{
            display: flex;
            flex-grow: 1;
            background-color: aqua;
        }
        .enter{
            display: flex;
            height: 200px;
            background-color: aquamarine;
        }
        .afiche{
            display: flex;
            width: 100px;
            height: 100px;
            background-color: blueviolet;
        }
        .menber{
            display: flex;
            flex-grow: 1;
            width: 100px;
            background-color: chartreuse;
        }
    </style>
</head>
</head>
<body>
    <div class="container center">
        <div class="left center">
            <div class="functionbar center">功能栏</div>
            <div class="left-right center">
                <div class="search center">搜索栏</div>
                <div class="chat-target center">聊天对象</div>
            </div>
        </div>
        <div class="right center">
            <div class="target-name center">对象名称</div>
            <div class="right-body center">
                <div class="right-body-left center">
                    <div class="chat-message center">聊天消息</div>
                    <div class="enter center">输入框</div>
                </div>
                <div class="right-body-right center">
                    <div class="afiche center">群公告</div>
                    <div class="menber center">群成员</div>
                </div>
            </div>
        </div>
    </div>
</body>
</html>